import './index.scss'

import Bar from '@/components/Bar'
const Home = () => {
    return (
        <div > 
        { /* 渲染Bar组件 */ }
         <Bar 
        title='周杰伦' 
        xData={['周', '杰', '伦']}
        yData={[50, 60, 70]}
        style={{ width: '500px', height: '400px' }}
        /> 
        <Bar 
        title = '邓紫棋'
        xData = {['邓', '紫', '棋'] }
        yData = { [60, 70, 80] }
        style = { { width: '500px', height: '200px' } }
        />
         </div>
    )
}

export default Home